home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / xyz21.zip / XYZ.DOC < prev   
Text File  |  1992-05-08  |  14KB  |  250 lines

  1.                     XYZ-EGA 3D Object Editor.
  2.                        By Dale P. Stocker
  3.                         Vs. 2.0 Apr. 1992
  4.  
  5.  
  6.      This  program  is  an  object  editor  to integrate  the two
  7. programs  Surface Model  and  Automove.  Both  of these  programs
  8. are freeware, so with any text  editor you can have a free 3D CAD
  9. system.  This  program  is  free  and  can  be  distributed  free
  10. provided you make no changes and ask for no money.  If  you  have
  11. the money to spare  and find you would like to give something for
  12. the  program you can send any amount you would like to  encourage
  13. the  programmer to continue to create free software. If you  have
  14. some software you would like make for you, let me know.
  15.      If  you  would  like the source code  for  the  programs  in
  16. Quickbasic  you can send me  $10.00  for processing and disk  and
  17. I  will  send you the program code. This includes  the  code  for
  18. SM2DKB. Note that I may be moving soon. Send this to:
  19.  
  20.         Dale P. Stocker
  21.         3493 E. Cedar Lake Dr.
  22.         Greenbush Mi. 48738
  23.  
  24. *     The  original version 1.1 of this program was call  XYZ.  I
  25. will  refer to this program as XYZ so you may want to rename  it.
  26. If  have  used XYZ you will know most of the operations.  I  will
  27. mark  what is new with * before the line. The first major  change
  28. is  that  it will only support EGA or VGA. I got a  better  video
  29. card and monitor. Note that the function keys have been added for
  30. some  of  the operations. Use the F1 help key for a list  of  the
  31. functions.
  32. *     The old version 1.1 files are not directly compatible  with
  33. this version as the color field is not there. I plan on adding  a
  34. conversion  program in basic. This will also give you  access  to
  35. the file format if you want to play with it.
  36.      You  can start XYZ with  a command line and a file  name and
  37. XYZ  will  automatically  start  to edit that object.  If you  do
  38. not  enter  a command line a menu will come up  with  the  active
  39. files on  the  logged  disk.  The  program  uses three files. The
  40. main    file   has    the  extension  3DL for the  lines  of  the
  41. object.  This file  is  binary  and  can  be  used  independently
  42. of the  others.  The  other  two  files  are 3DP for points   and
  43. 3DS. 3DP is a standard ASCII format of  X,Y,Z  locations. 3DS has
  44. the surfaces Surface Model will use.  When  the  program  creates
  45. the  Surface Model file  it  combines  these  together.   If  you
  46. want  a wire frame  object to use as a model  to  make   surfaces
  47. on, just  start with the 3DL file. This is  all   you   need  for
  48. editing and to make an Automove file.
  49. *     A  new file format has been added. This is the .3DA  for  a
  50. ASCII  output of the .3DL file so you can edit it  directly.  The
  51. program can now export, import, and merge these file types.
  52.      After  you have come up to the editing screen your  drawing,
  53. if any, will be displayed in the top position. The curser will be
  54. at 0,0,0 with the jump set to 10. F1 is a basic help key. Most of
  55. the  functions are one letter commands. You move the curser  with
  56. the  arrow  keys and the + and - keys to move in and out  of  the
  57. axis you are looking at the object from.
  58. *     Mouse support has been added. The left button acts  as  the
  59. enter  key. The middle button calls up the facing menu,  and  the
  60. right  button  acts as the "S" key. In the facing menu  the  left
  61. button calls the top view, the middle button calls the front view
  62. and the right button calls the side view.
  63.  
  64. (Alt+M)  Turns the mouse on and off. This was th 2.1 update.
  65.  
  66. (S) / (Enter)..   Start to enter a surface  with  the "S" key  or
  67. Enter, you  can  now  draw lines.  You  will  leave a point  when
  68. you  enter  and  can continue from there. To  make   a   surface,
  69. connect all the points in the surface  and  press  enter.  If you
  70. are  not concerned with real surfaces  don't  worry   about   the
  71. formalities and just draw the lines as you like.  This  is   fine
  72. for  this program and Automove. Without making   surface   values
  73. Surface Model will not have anything to go on so you will need to
  74. connect all lines of the surface together for Surface Model. What
  75. I  do is make  the wire frame image without  duplicating   lines,
  76. then   delete   the points (3DP) and surface (3DS) files.
  77. *   In the (W) write menu, there is now a option to delete these
  78. files automatically with the (D) option.
  79.       I   can then  go  back  into XYZ and put on  the  surfaces.
  80. You should have a lot  of  double  lines. For example, to make  a
  81. cube,  every line would   be   doubled as you would have to  draw
  82. over  it  at  least once to make a  full square side. After   you
  83. have  made  a  side, or are done drawing,  press   "S"  for   the
  84. completion  of that surface. You can use escape when drawing  but
  85. only  back   to  the   previous point entered.  The  new  version
  86. also  uses  the  (Ins) Key to start and the (Del) Key  to  end  a
  87. surface.  *  Note that the function keys are used in version  2.1
  88. as well as the mouse buttons.
  89.  
  90. (B)..    The  "B" is used to start a box, or plane  surface.  You
  91. position  the  curser to the two corners and  the  computer  will
  92. figure  out the sides and points. The plane may be tilted,  going
  93. into  or out of the view plane, but only in the up down axis.  It
  94. does  not  fold side to side. ESC will stop the box and  get  you
  95. out,  any other key will set the box. If you ESC the box left  on
  96. the screen will remain till you re-draw the screen.
  97.  
  98. (E)..   If you  make a lot of  mistakes  use the "E"   option  to
  99. edit  the  wire frame. You can use the + and - keys  to  sequence
  100. through  the  lines till you find  the one you wish to  edit,  or
  101. press  "S"  to skip ahead a number of lines from where  you  are.
  102. Lines that are being edited are red on EGA monitors and  flashing
  103. white  on  others.  The XYZ positions of the line  and  the  line
  104. number  are displayed. If you wish to erase the line  press  "E".
  105. this  sets the first X position to 32005 and will be  ignored  by
  106. the program. The program will delete the line permanently if  you
  107. use  the  remove double line function when you save.  Until  that
  108. time you can get the line back by entering "M" to move the points
  109. of the line. The "M" function allows you to change the XYZ points
  110. that  make up the line. Enter pass each point if you do not  want
  111. to change it. Both delete and move only affect the lines used  in
  112. the  line  file (3DL) not any surface's.  To  do that   you   can
  113. edit   the  surface  file. This is one reason I  make  the   wire
  114. frame  object first. The dimensions I use for  drawing space  are
  115. limited  to  32000  by  -32000. Numbers  higher  than this   will
  116. have   some  problems. * The color option has been added and  can
  117. be changed with the "C" key.
  118.  
  119. (F)..   To  change the side of the view you are  looking  at  the
  120. object from  press  "F"  for facing. A box will pop up  with  the
  121. three  sides. "T" for Top, "S" for Side, and "F" for front.  This
  122. is  also  a way to re-draw the screen if it gets messy. I  use  a
  123. destructive line when drawing so you can wipe out some of what is
  124. on the screen. * Note that the mouse buttons also work.
  125.  
  126. (1..0).. The jump level  is  set  by  pressing the number form  1
  127. to 9 or 0 for 10. This controls how far the curser or lines move.
  128.  
  129. (Z)..   The   program is able to Zoom and Pan. The  pan  function
  130. will  not work when inputting lines.  The + and - keys  are  used
  131. for  zooming in  and  out based on the jump level.  In  the  zoom
  132. function, set by pressing the "Z", you can set all settings  back
  133. to start by  pressing "0". Use escape to stop zoom and pan.
  134.  
  135. (C)..  You can use the "C" at any time to  Center  the drawing at
  136. the curser. This is a bit better than panning the object with the
  137. zoom function. It is also a way to quickly re-draw the screen.
  138.  
  139. (*)..  The "*" is used to add comments to the surface file.  This
  140. can  be used so you know where certain objects or sides start.  A
  141. comment  line  will appear at the bottom of the screen  for  your
  142. input.
  143.  
  144. (O)..   This  program  has no cylinder function as it   is   only
  145. line  oriented.  But  I often need circles, so I  put  in  a  "O"
  146. function  to  create a sphere in space at the curser. I can  then
  147. use  this  as  a  reference to make or trace  my  objects.  After
  148. pressing  "O" use the  + and - keys to expand the sphere  by  the
  149. level of the jump. Enter  when you have what you want.
  150.  
  151. (R)..    To rotate the object only to look at it press "R".  This
  152. will  take you to the rotate option. There will be a small  plane
  153. on  the  screen.  Use the arrow keys to move it so the angle  you
  154. like. To  change the jump angle press "A" and enter a jump value.
  155.      After  you   have  the  perspective  you want  press  enter.
  156. Your  object will be displayed in a Zoom/Pan mode so you can  get
  157. the  view you want. As well as movement you can also  change  the
  158. angles  a bit at a time, but this is slow with the entire  object
  159. being  rotated.  The "X" and "S" key changes the X angle  by  the
  160. jump  level. The "Z" and "A" keys work the same for the  Z  angle
  161. and the "Y" and "U" keys are for the Y angle. If you press ESC it
  162. will stop drawing and allow you to use the functions above.  This
  163. gives you the option of changing the view before the  drawing  is
  164. finished,  so  if you have a large object you won't have to  wait
  165. till it is finished plotting. The  "B"  key that saves the screen
  166. in  Basic  Bsave mode  in a file  XYZ-(Number).BAS. * They  saved
  167. in low resolution mode and is the only place in the program  this
  168. mode is used. I suggest using some other screen capture or  print
  169. utility  for  screen  dumps. My print routing had  a  lot  to  be
  170. desired,  so  I left it out. I no longer distribute  BL-XYZ  with
  171. this  version of the program. The Bsaved files can still be  used
  172. with this program.
  173.  
  174. (D)  /  (M)..  Some other functions I have included  are  "D"  to
  175. distort   the  object by the factor you input for each  axis.  As
  176. well  as this, I  have "M" to move the object by the  amount  you
  177. input on each Axis.
  178.  
  179. (X)..    After  you have made your object press "X" to  exit  and
  180. save.  You  will be asked you you want to  delete  any  duplicate
  181. lines in the file.
  182.  
  183. (W)..   If  you  have made an object with surfaces you can   make
  184. the surface model output file by pressing "W" to write the  file.
  185. From   here you can chose Surface Model "S" or Automove "A".  You
  186. do  not  need surface designation for Automove. * "D" will delete
  187. the  .3DP and .3DS files so you can use the .3DL file as  a  wire
  188. frame to start a new Surface Model file.
  189.  
  190. (I)..   This is a Import, Export, and Merge function. You will be
  191. asked  what  one you want, just answer "I" for  Import,  "E"  for
  192. Export,  and  "M" to merge. The Export saves the .3DL file  as  a
  193. standard ASCII file. The format is:
  194.          First point in X, Y, and Z
  195.          The second point in X, Y, and Z
  196.          And the color of the line from 1 to 15.
  197.  
  198.         The  Import will bring in the .3DA file as the main  file
  199. you  are  editing with the new name as the .3DA file.  The  Merge
  200. function  will add the .3DA file to the end of the file  you  are
  201. working  on.  Note, no points or surfaces will be  referenced  to
  202. this part of the file.
  203.  
  204.      Surface Model files are made with only one materiel. You can
  205. edit  to  make what you want with a ASCII  editor.  The  Automove
  206. creates  its file by setting dots along the lines of the  object.
  207. You can chose the number of dots per segment. With a small object
  208. you can use more than one but for larger objects use may want  to
  209. use less than one as Automove will only take in 1024 points.
  210.  
  211. *     XYZ-DOT is not longer distributed with this  version.  They
  212. will  still  work  with the .3DP file but  Surface  Model  has  a
  213. utility program for this.
  214.  
  215.      If you have ideas or other programs you would like to  share
  216. send them to me. I have other programs I was selling as shareware
  217. that I may make freeware. If you would like one of these programs
  218. send  me  a disk with some freeware programs as  well  as  return
  219. postage.  I  have some programs for fantasy and  space  adventure
  220. games, a program for banking, Michigan lottery, and one for basal
  221. thermometer charting. The space programs require three disks  for
  222. all  information. Other gaming materiel would be  useful.  Things
  223. like  ship design and adventure ideas. I have quite a few if  you
  224. are interested.
  225.  
  226.      There are some tricks I have learned to do with the program.
  227. To make a  object that is a  mirror of the other side.  Draw just
  228. one side then copy the file to a new name.  Use the "D" option to
  229. flip the image and save it again.  Then combine the  two with the
  230. Copy /b DOS command as Copy One.3DL /b + Two.3DL /b new.3DL.
  231. *    There is now a merge function for this. The files must be in
  232. the .3DA format.
  233.  
  234.     The  office of the AISB branch at Wurtsmith AFB Michigan  has
  235. contributed  to the  final version of this program. This  program
  236. is  free  to all government agencies. I do not  have  any  direct
  237. access  to bulletin boards of the Internet. This office has  been
  238. able to distribute these programs to you.  Thanks to  TSgt Don T.
  239. Olsen  for his  help  in  this  area.  I  will  not  have  access
  240. to  this for much longer. But I hope I can still get my  programs
  241. out  to  you  and get some of the great  programs  off  of  these
  242. places. My thanks the the creator of Surface Model, AutoMove, DKB
  243. raytrace, and others.
  244.  
  245.  
  246.      This  program is distributed as is and I am not  responsible
  247. for any loss of data or other problems the program may cause. You
  248. use  this  program  at  your own risk.  It  is  freeware  and  no
  249. registration is needed.
  250.